﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kevin.Framework.Cache;
using System.Web.UI;

namespace Kevin.Controls
{
    internal class ClientBindCache : CacheQueue<string, ClientBindItemCollection>
    {
        static ClientBindCache _instance;
        public static ClientBindCache Instance
        {
            get {
                if (_instance == null)
                    _instance = new ClientBindCache();
                return _instance;
            }
        }
    }

    internal class DataBindItemsCache : CacheQueue<string, Control>
    {
        static DataBindItemsCache _instance;
        public static DataBindItemsCache Instance
        {
            get
            {
                if (_instance == null)
                    _instance = new DataBindItemsCache();
                return _instance;
            }
        }
    }
}
